fix travis packages, rpath.
authortsteven4 <tsteven4@gmail.com>
Wed, 16 May 2018 01:32:50 +0000 (19:32 -0600)
committertsteven4 <tsteven4@gmail.com>
Wed, 16 May 2018 01:32:50 +0000 (19:32 -0600)
.travis.yml

index 7110bd1e0ff48cff3026e2e2788967dbcce5c8cc..4704d9ceb86de6e76fee1fec87b20b15166d53cb 100644 (file)
@@ -12,11 +12,6 @@ addons:
     - valgrind
     - xsltproc
     - libxml2-utils
-    - qt5-default
-    - qtbase5-dev
-    - libqt5webkit5-dev
-    - qttools5-dev-tools
-    - qttranslations5-l10n
     - libusb-dev
     - docbook-xml
     - docbook-xsl
@@ -38,9 +33,17 @@ matrix:
   - compiler: gcc
     env:
     - USE_DOCKER=true
+    addons:
+      apt:
+        sources:
+        packages:
   - compiler: clang
     env:
     - USE_DOCKER=true
+    addons:
+      apt:
+        sources:
+        packages:
 
 before_install:
   - if [ "${USE_DOCKER}" = "false" ]; then source "/opt/qt${QT_VERSION}/bin/qt${QT_VERSION}-env.sh"; fi
@@ -52,6 +55,7 @@ install:
 
 script:
   - if [ "${USE_DOCKER}" = "true" ]; then ./docker_hook; fi
-  - if [ "${USE_DOCKER}" = "false" ]; then ./build_and_test; fi
+  - if [ "${USE_DOCKER}" = "false" ]; then  LDFLAGS=-Wl,-rpath,/opt/qt${QT_VERSION}/lib ./build_and_test; fi
+  - ./gpsbabel -D 1
   - if [ "${USE_DOCKER}" = "false" ]; then export VERSION=$(git rev-parse --short HEAD); fi # linuxdeployqt uses this for naming the file
   - if [ "${USE_DOCKER}" = "false" ]; then cd gui; QMAKE=/opt/qt${QT_VERSION}/bin/qmake LINUXDEPLOYQT=../linuxdeployqt ./makeappimage.sh; fi